package cn.itcast.user.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name="tb_user")
@Data
public class User implements Serializable{

        @Id
        @KeySql(useGeneratedKeys = true)

        private Long id;
        private String username;
        private String password;
        private String phone;
        private Date created;


}
